package com.eight.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author caoch
 * @since 2023/3/6 10:38
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tbCarCoupon", description="车辆信息优惠卷对照表")
@TableName(value = "tb_car_coupon")
public class TbCarCoupon implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	@TableField(value = "id")
	private Integer id;
	@ApiModelProperty(value = "车辆ID")
	@TableField("car_id")
	private Integer carId;
	@ApiModelProperty(value = "优惠卷ID")
	@TableField("coupon_id")
	private Integer couponId;
}
